let a = document.getElementById('one');
a.onclick=function () {
    a.style.color='green';
}